lst = list(input('请输入一行字符，可以是任意字符:'))

iLetter = []
iSpace  = []
iNumber = []
iOther  = []

for i in range(len(lst())):
    if lst[i] in range('a','z') or lst[i] in range('A','Z'):
        iLetter.append(lst[i])
    elif lst[i] =='':
        iSpace.append('')
    elif lst[i] in range ('0','9'):
        iNumber.append(lst[i])
    else:
        iOther.append(lst[i])

print('中英文字母个数：%s' % len(iLetter))
print('空格个数：%s' % len(iSpace))
print('数字个数：%s' % len(iNumber))
print('其它字符个数：%s' % len(iOther))
